package com.sumc.springcloud.feign.config;

import com.sumc.springcloud.feign.service.FeignService;
import org.springframework.stereotype.Component;

/**
 * @describe：配置本地异常
 * @author: Smc
 * @version:v1.0 2020/3/23 12:00   Try to write good code
 */
@Component
public class MyFallback implements FeignService {
    @Override
    public String sayHello() {

        return "远程服务不可用 暂时采用本地逻辑来代替.............";
    }
}
